import { request } from '@/utils/request.js'

/**
 * 集装箱记录管理 API JS
 */

export default {

  /**
   * 获取首页待办统计
   * @returns
   */
  getDbCount (params = {}) {
    return request({
      url: 'prediction/home/todo',
      method: 'get',
      params
    })
  },
  getXtggListPage( params = {
    page:1,
    pageSize:10
  } ){
    return request({
        url: 'system/notice/index',
        method: 'get',
        params
      })
  },
  getZytxListPage( params = {
    page:1,
    pageSize:10,
    read_status: 'all',
    content_type: 'all',
    title:'消息管理'
  } ){
    return request({
        url: 'system/queueMessage/receiveList',
        method: 'get',
        params
      })
  },
  getZytxListPage( params = {
    page:1,
    pageSize:10,
    read_status: 'all',
    content_type: 'all',
    title:'消息管理'
  } ){
    return request({
        url: 'system/queueMessage/receiveList',
        method: 'get',
        params
      })
  },
  getJqrblCount( params = {} ){
    return request({
        url: 'prediction/home/todo_report',
        method: 'get',
        params
      })
  },
  getJqrpslCount( params = {} ){
    return request({
        url: 'prediction/home/perisong_report',
        method: 'get',
        params
      })
  },
  getJqrszjeCount( params = {} ){
    return request({
        url: 'prediction/home/shouzhi_report',
        method: 'get',
        params
      })
  },
//   客户余额
  getKhyeList( params = {
    page:1,
    pageSize:500,
    orderBy:'id',
    orderType:'desc'
  } ){
    return request({
        url: 'financial/payOrder/deptList',
        method: 'get',
        params
      })
  },

//   配送任务
  getPsrwList( params = {} ){
    return request({
        url: 'prediction/home/peisong_list',
        method: 'get',
        params
      })
  },

//   配送车辆
  getPsclList( params = {} ){
    return request({
        url: 'prediction/home/car_list',
        method: 'get',
        params
      })
  },

//   装卸任务
  getZxrwList( params = {} ){
    return request({
        url: 'prediction/home/load_list',
        method: 'get',
        params
      })
  }


}